<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"><title>xmuci Blog - 做自己领域的佼佼者</title><meta name="author" content="chenmuci"><meta name="copyright" content="chenmuci"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="做自己领域的佼佼者">
<meta property="og:type" content="website">
<meta property="og:title" content="xmuci Blog">
<meta property="og:url" content="https://xmuci.gitee.io/hexo-blog/index.html">
<meta property="og:site_name" content="xmuci Blog">
<meta property="og:description" content="做自己领域的佼佼者">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://xmuci.gitee.io/hexo-blog/img/avatar.jpg">
<meta property="article:author" content="chenmuci">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://xmuci.gitee.io/hexo-blog/img/avatar.jpg"><link rel="shortcut icon" href="/hexo-blog/img/favicon.png"><link rel="canonical" href="https://xmuci.gitee.io/hexo-blog/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/hexo-blog/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/hexo-blog/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"top-center"},
  source: {
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/flickr-justified-gallery/dist/fjGallery.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: true,
  isAnchor: false,
  percent: {
    toc: true,
    rightside: false,
  }
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: 'xmuci Blog',
  isPost: false,
  isHome: true,
  isHighlightShrink: false,
  isToc: false,
  postUpdate: '2023-05-12 13:26:57'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
    win.getCSS = (url,id = false) => new Promise((resolve, reject) => {
      const link = document.createElement('link')
      link.rel = 'stylesheet'
      link.href = url
      if (id) link.id = id
      link.onerror = reject
      link.onload = link.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        link.onload = link.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(link)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 6.3.0"><link rel="alternate" href="/hexo-blog/atom.xml" title="xmuci Blog" type="application/atom+xml">
</head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src= "" data-lazy-src="/hexo-blog/img/avatar.jpg" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/hexo-blog/archives/"><div class="headline">文章</div><div class="length-num">15</div></a><a href="/hexo-blog/tags/"><div class="headline">标签</div><div class="length-num">23</div></a><a href="/hexo-blog/categories/"><div class="headline">分类</div><div class="length-num">9</div></a></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/hexo-blog/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/messageboard/"><i class="fa-fw fa fa-commenting"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/hexo-blog/about/"><i class="fa-fw fa fa-user"></i><span> 关于</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly/"><i class="fa-fw fa fa-heart"></i><span> butterfly主题</span></a></li></ul></div></div></div></div><div class="page" id="body-wrap"><header class="full_page" id="page-header" style="background-image: url('/hexo-blog/img/index_img.jpg')"><nav id="nav"><span id="blog-info"><a href="/hexo-blog/" title="xmuci Blog"><span class="site-name">xmuci Blog</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/hexo-blog/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/messageboard/"><i class="fa-fw fa fa-commenting"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/hexo-blog/link/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/hexo-blog/about/"><i class="fa-fw fa fa-user"></i><span> 关于</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly/"><i class="fa-fw fa fa-heart"></i><span> butterfly主题</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="site-info"><h1 id="site-title">xmuci Blog</h1><div id="site-subtitle"><span id="subtitle"></span></div><div id="site_social_icons"><a class="social-icon" href="mailto:xiezhilong1222@163.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div id="scroll-down"><i class="fas fa-angle-down scroll-down-effects"></i></div></header><main class="layout" id="content-inner"><div class="recent-posts" id="recent-posts"><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/05/12/network/" title="网线水晶头线序接法解析"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/network.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="网线水晶头线序接法解析"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/05/12/network/" title="网线水晶头线序接法解析">网线水晶头线序接法解析</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-05-12T03:59:53.538Z" title="发表于 2023-05-12 11:59:53">2023-05-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E7%B3%BB%E7%BB%9F/">系统</a></span></div><div class="content">网线水晶头线序接法解析一、水晶头的接线标准
网线水晶头在国际上有两种统一的标准接法：TIA&#x2F;EIA 568A 和TIA&#x2F;EIA568B。
（1）568A标准：绿白，绿，橙白，蓝，蓝白，橙，棕白，棕
（2）568B标准：橙白，橙，绿白，蓝，蓝白，绿，棕白，棕
→ 我们用网线钳剥掉网线的外皮，就能看到8根颜色的金属线。

二、两种水晶头排线顺序
（1）直通线：网线的两端均为T568B标准

（2）交叉线：网线的一端为T568A标准，另一端为T568B标准。

三、超五类水晶头和六类水晶头有什么区别？
区别肯定是会有的，主要有以下几点：
（1）内部结构
六类水晶头里面8根触点（金属片）是上下错开分成两排，超五类水晶头8根触点则是一字排开。
（2）材质粗细
超五类网线铜芯较细，在0.45-0.51mm左右；六类网线的铜芯较粗，在0.52-0.58mm左右。
四、六类网线能接超五类水晶头吗？
如果超五类水晶头的质量过关，是可以与六类网线接一起，但是效果不会很好，而且可能会不通用。
可以连接的原因：超五类水晶头和六类水晶头的外形是一样的，可以通用RJ45插座&#x2F;模块。
 ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/hexo-blog/2023/04/24/bcd/" title="BCD码的编程规范">BCD码的编程规范</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-24T03:41:21.570Z" title="发表于 2023-04-24 11:41:21">2023-04-24</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BC%96%E7%A8%8B/">计算机编程</a></span></div><div class="content">BCD码的英文全称是Binary-Coded Decimal‎，简称BCD，按字面解释是二进制十进制代码，是一种二进制的数字编码形式。我们平常用的十进制，每一位分别用二进制来保存，这种编码形式利用了四个位元来储存一个十进制的数码，使二进制和十进制之间的转换得以快捷的进行。这种编码技巧，最常用于会计系统的设计里，因为会计制度经常需要对很长的数字串作准确的计算。相对于一般的浮点式记数法，采用BCD码，既可保存数值的精确度，又可免却使电脑作浮点运算时所耗费的时间。
常用BCD编码方式　　最常用的BCD编码，就是使用”0”至”9”这十个数值的二进码来表示。这种编码方式，在中国大陆称之为“8421码”。除此以外，对应不同需求，各人亦开发了不同的编码方法，以适应不同的需求。这些编码，大致可以分成有权码和无权码两种：　　有权BCD码，如：8421(最常用)、2421、5421…　　无权BCD码，如：余3码、格雷码… 
常用BCD码
1234567891011十进制数          8421码           5421码             2421码             余3码    ...</div></div></div><div class="recent-post-item"><div class="recent-post-info no-cover"><a class="article-title" href="/hexo-blog/2023/04/24/reverse/" title="大端序和小端序">大端序和小端序</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-24T03:34:17.004Z" title="发表于 2023-04-24 11:34:17">2023-04-24</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BC%96%E7%A8%8B/">计算机编程</a></span></div><div class="content">字节存储顺序主要分为大端序（Big-endian）和小端序（Little-endian），区别如下
Big-endian：高位字节存入低地址，低位字节存入高地址
Little-endian：低位字节存入低地址，高位字节存入高地址

例如，将12345678h写入1000h开始的内存中，以大端序和小端序模式存放结果如下

一般来说，x86系列CPU都是Little-endian字节序，PowerPC通常是Big-endian字节序。
因为网络协议也都是采用Big-endian方式传输数据的，所以有时也把Big-endian方式称为网络字节序
</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/04/12/bbr/" title="服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/bbr.png" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/04/12/bbr/" title="服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本">服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-12T10:23:57.285Z" title="发表于 2023-04-12 18:23:57">2023-04-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E6%9C%8D%E5%8A%A1%E5%99%A8/">服务器</a></span></div><div class="content">准备工作部分服务器厂商镜像默认不带wget，请先运行相应的命令安装wget
12yum -y install wget #ContOS 安装 wgetapt-get install wget #Debian Ubuntu 安装 wget

四合一服务器加速脚本Centos 7, Debian 8&#x2F;9, Ubuntu 16&#x2F;18 测试通过, 不支持 OpenVZ虚拟化！
1wget -N --no-check-certificate &quot;https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh&quot; &amp;&amp; chmod +x tcp.sh &amp;&amp; ./tcp.sh

谷歌原版官方BBR加速脚本CentOS 6 ，Debian 7 ，Ubuntu 12测试通过, 不支持 OpenVZ虚拟化！
1wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/04/12/pagoda/" title="搭建宝塔面板"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/baota.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="搭建宝塔面板"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/04/12/pagoda/" title="搭建宝塔面板">搭建宝塔面板</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-12T09:08:49.113Z" title="发表于 2023-04-12 17:08:49">2023-04-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E6%9C%8D%E5%8A%A1%E5%99%A8/">服务器</a></span></div><div class="content">安装要求
内存：512M以上，推荐768M以上（纯面板约占系统60M内存）
硬盘：300M以上可用硬盘空间（纯面板约占20M磁盘空间）
系统：CentOS 7.1+ (Ubuntu16.04+.、Debian9.0+)，确保是干净的操作系统，没有安装过其它环境带的Apache&#x2F;Nginx&#x2F;php&#x2F;MySQL&#x2F;pgsql&#x2F;gitlab&#x2F;java（已有环境不可安装）
架构：x86_64（主流服务器均是此架构），ARM不完整兼容（面板环境安装慢，部分软件可能安装不上）

安装服务器加速内核首先 ssh 连接到服务器，推荐安装一个加速内核，BBR或者锐速都行。
服务器加速脚本，含BBR Plus&#x2F;BBR原版&#x2F;BBR魔改版&#x2F;锐速，BBR四合一脚本
安装一键脚本12345678# Centoswget -O install.sh http://download.bt.cn/install/install_6.0.sh &amp;&amp; sh install.sh# Ubuntu/Deepinwget -O ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/04/12/xui/" title="搭建支持多协议多用户的 xray 面板(x-ui)"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/x-ui.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="搭建支持多协议多用户的 xray 面板(x-ui)"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/04/12/xui/" title="搭建支持多协议多用户的 xray 面板(x-ui)">搭建支持多协议多用户的 xray 面板(x-ui)</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-12T08:47:40.952Z" title="发表于 2023-04-12 16:47:40">2023-04-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E6%9C%8D%E5%8A%A1%E5%99%A8/">服务器</a></span></div><div class="content">前言x-ui拥有集成度高，兼容性好，功能强大，交互简单等优点！
简介x-ui脱胎于v2-ui，x-ui是作者按照v2-ui用GO语言重新开发了一套面板，相比原来的 v2-ui，x-ui兼容性更强，也便于维护，GO 语言的性能更好，对服务器的内存占用也会低一些。
支持的功能
系统状态监控
支持多用户多协议，网页可视化操作
支持的协议：vmess、vless、trojan、shadowsocks、dokodemo-door、socks、http
支持配置更多传输配置
流量统计，限制流量，限制到期时间
可自定义 xray 配置模板
支持 https 访问面板（自备域名 + ssl 证书）
支持一键SSL证书申请且自动续签
更多高级配置项，详见面板

安装使用一键脚本安装1bash &lt;(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh)

手动下载安装
首先从 https://github.com/vaxilu/x-ui/releases 下载最新的压缩包，一般选择 amd64架构
然后将这个 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/04/12/aws-ec2/" title="亚马逊云创建Aws EC2实例"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/aws.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="亚马逊云创建Aws EC2实例"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/04/12/aws-ec2/" title="亚马逊云创建Aws EC2实例">亚马逊云创建Aws EC2实例</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-12T07:08:42.662Z" title="发表于 2023-04-12 15:08:42">2023-04-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E7%AC%94%E8%AE%B0/">笔记</a></span></div><div class="content">亚马逊云科技中国区域免费套餐申请地址：https://www.amazonaws.cn/free/

Aws EC2 服务器 12个月免费

创建 Aws EC2 实例
打开 Aws EC2 管理控制面板，右上角选择地区，建议选择离自己近的。
点击启动实例
填写实例的名称
操作系统选择自己想用的，没有 CentOS，推荐 Ubuntu
密钥对一定要创建！！！，命名随便，一定要保存下载下来。
配置存储，亚马逊提供每人 30GB 免费的，默认 8G 也可以，剩下的可以再建两台服务器。
设置好之后，点击右边的启动实例。
点击实例的名称，会弹出它的一些配置，复制它的公有 IP 去命令窗口 ping 一下，会发现ping 不通，说明连接不上。
解决方法：控制面板左下角有一个安全组，点进去设置下入站规则；名称为 default 的是默认的，创建实例生成的是 launch-wizard 开头的，后面的数字代表第几个创建的实例，编辑它的入站规则。
把原来的 SSH 改为 所有流量，然后保存；再去 ping 一下，能够 ping 通说明能连接。

使用 XShell 连接打开 XShell ，新建会话， ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/04/12/windows-delete-service/" title="Windows 删除服务的4种方式"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/windows.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="Windows 删除服务的4种方式"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/04/12/windows-delete-service/" title="Windows 删除服务的4种方式">Windows 删除服务的4种方式</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-12T03:55:37.602Z" title="发表于 2023-04-12 11:55:37">2023-04-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/Windows/">Windows</a></span></div><div class="content">查看 Windows 服务使用 win+r 快捷键打开 「运行」——执行services.msc打开「服务」
使用「任务管理器」的「服务」选项卡来查看任何正在运行的服务

services.msc 实用程序会显示所有（包括没有运行的）服务。

应该删除 Windows 中的「服务」吗？Windows 中的「服务」可以分为两大类：

Windows 服务 在大多数情况下，尝试删除「Windows 服务」并不是一个好主意。 其中许多服务执行了 Windows 系统的基本功能，删除它们可能会使计算机崩溃。
第三方服务 是由安装的应用程序创建的。大多数应用程序创建的「服务」主要是提供一些后台功能，但我们也可以删除一些不常用的第三方服务，以释放系统性能。


其实，一些 Windows 服务也属于「可有可无」的范围，可以在不影响核心系统功能的情况下停止和删除。但强烈建议不要去删除 Windows 默认的服务。

方法一：使用「注册表」删除 Windows 服务注册表是 Windows 操作系统和应用程序存储其低层级配置的数据库，当然也包括了「服务」。在 Windows 中删除任何「服务」最简单方 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/04/12/python-windows/" title="将Python脚本注册到Windows后台服务"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/srvany.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="将Python脚本注册到Windows后台服务"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/04/12/python-windows/" title="将Python脚本注册到Windows后台服务">将Python脚本注册到Windows后台服务</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-12T02:08:37.046Z" title="发表于 2023-04-12 10:08:37">2023-04-12</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/Python/">Python</a></span></div><div class="content">编写 bat 程序新建一个文本文档，修改后缀名为 .bat，输入 python.exe 的地址 和 要执行的 python 文件的地址
1&quot;C:\Soft\Python311\python.exe&quot; &quot;C:\srvany\test.py&quot;

安装所需工具下载地址：https://www.aliyundrive.com/s/84iz1LHZUSE 提取码：r65t
注册服务在保存 instsrv.exe 文件夹中用管理员身份打开命令行窗口，输入以下命令：
1C:\srvany\instsrv.exe &quot;ServiceName&quot; C:\srvany\srvany.exe  
回车后，如果没有错误就会出现如下所示的成功提示：注意：服务名可以自己定义。上述即使cd到instsrv.exe或srvany.exe所在目录，也需要写instsrv.exe或srvany.exe文件的绝对路径而不能用相对路径，否则会出现如下错误：The fully qualified path to the .EXE must be given
打开系统注册表 ...</div></div></div><div class="recent-post-item"><div class="post_cover left"><a href="/hexo-blog/2023/04/07/springboot-aliyun/" title="SpringBoot 项目部署到阿里云服务器的详细步骤"><img class="post-bg" src= "" data-lazy-src="/hexo-blog/img/images/aliyun.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="SpringBoot 项目部署到阿里云服务器的详细步骤"></a></div><div class="recent-post-info"><a class="article-title" href="/hexo-blog/2023/04/07/springboot-aliyun/" title="SpringBoot 项目部署到阿里云服务器的详细步骤">SpringBoot 项目部署到阿里云服务器的详细步骤</a><div class="article-meta-wrap"><span class="post-meta-date"><i class="far fa-calendar-alt"></i><span class="article-meta-label">发表于</span><time datetime="2023-04-07T01:44:58.968Z" title="发表于 2023-04-07 09:44:58">2023-04-07</time></span><span class="article-meta"><span class="article-meta-separator">|</span><i class="fas fa-inbox"></i><a class="article-meta__categories" href="/hexo-blog/categories/%E9%98%BF%E9%87%8C%E4%BA%91/">阿里云</a></span></div><div class="content">申请阿里云服务器阿里云官网：https://www.aliyun.com/官方文档：https://help.aliyun.com/product/25365.html
XShell 的安装使用官网下载地址：https://xshell.en.softonic.com/阿里云盘下载地址：https://www.aliyundrive.com/s/xDmbZ3mWBNE
下载完成之后打开：
新建会话窗口，将公网IP输入到主机栏，端口默认是22（服务器监听端口，ftp默认21，sftp默认22）
点击确认 -&gt;连接，填写服务器用户名和密码
登录成功，进入服务器，在上面进行 jdk安装、mysql安装、springboot项目部署的操作

云服务器安装 JDKjdk 下载地址：https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

把下载完成的压缩包上传到云服务器，安装 lrzsz 工具
12345678910111213apt install lrzsz或yum ins ...</div></div></div><nav id="pagination"><div class="pagination"><span class="page-number current">1</span><a class="page-number" href="/hexo-blog/page/2/#content-inner">2</a><a class="extend next" rel="next" href="/hexo-blog/page/2/#content-inner"><i class="fas fa-chevron-right fa-fw"></i></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src= "" data-lazy-src="/hexo-blog/img/avatar.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">chenmuci</div><div class="author-info__description">做自己领域的佼佼者</div></div><div class="card-info-data site-data is-center"><a href="/hexo-blog/archives/"><div class="headline">文章</div><div class="length-num">15</div></a><a href="/hexo-blog/tags/"><div class="headline">标签</div><div class="length-num">23</div></a><a href="/hexo-blog/categories/"><div class="headline">分类</div><div class="length-num">9</div></a></div><a id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/chenmuci"><i class="fab fa-github"></i><span>感谢fork</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="mailto:xiezhilong1222@163.com" target="_blank" title="Email"><i class="fas fa-envelope"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">网站初建，内容正在不断补充中，如果您有什么建议，请到留言板进行留言反馈。</div></div><div class="sticky_layout"><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/hexo-blog/2023/05/12/network/" title="网线水晶头线序接法解析"><img src= "" data-lazy-src="/hexo-blog/img/images/network.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="网线水晶头线序接法解析"/></a><div class="content"><a class="title" href="/hexo-blog/2023/05/12/network/" title="网线水晶头线序接法解析">网线水晶头线序接法解析</a><time datetime="2023-05-12T03:59:53.538Z" title="发表于 2023-05-12 11:59:53">2023-05-12</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/hexo-blog/2023/04/24/bcd/" title="BCD码的编程规范">BCD码的编程规范</a><time datetime="2023-04-24T03:41:21.570Z" title="发表于 2023-04-24 11:41:21">2023-04-24</time></div></div><div class="aside-list-item no-cover"><div class="content"><a class="title" href="/hexo-blog/2023/04/24/reverse/" title="大端序和小端序">大端序和小端序</a><time datetime="2023-04-24T03:34:17.004Z" title="发表于 2023-04-24 11:34:17">2023-04-24</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/hexo-blog/2023/04/12/bbr/" title="服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本"><img src= "" data-lazy-src="/hexo-blog/img/images/bbr.png" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本"/></a><div class="content"><a class="title" href="/hexo-blog/2023/04/12/bbr/" title="服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本">服务器加速脚本，含BBR Plus/BBR原版/BBR魔改版/锐速，BBR四合一脚本</a><time datetime="2023-04-12T10:23:57.285Z" title="发表于 2023-04-12 18:23:57">2023-04-12</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/hexo-blog/2023/04/12/pagoda/" title="搭建宝塔面板"><img src= "" data-lazy-src="/hexo-blog/img/images/baota.jpg" onerror="this.onerror=null;this.src='/hexo-blog/img/404.jpg'" alt="搭建宝塔面板"/></a><div class="content"><a class="title" href="/hexo-blog/2023/04/12/pagoda/" title="搭建宝塔面板">搭建宝塔面板</a><time datetime="2023-04-12T09:08:49.113Z" title="发表于 2023-04-12 17:08:49">2023-04-12</time></div></div></div></div><div class="card-widget card-categories"><div class="item-headline">
            <i class="fas fa-folder-open"></i>
            <span>分类</span>
            <a class="card-more-btn" href="/hexo-blog/categories/" title="查看更多">
    <i class="fas fa-angle-right"></i></a>
            </div>
            <ul class="card-category-list" id="aside-cat-list">
            <li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/Hexo/"><span class="card-category-list-name">Hexo</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/MySQL/"><span class="card-category-list-name">MySQL</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/Python/"><span class="card-category-list-name">Python</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/Windows/"><span class="card-category-list-name">Windows</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/%E6%9C%8D%E5%8A%A1%E5%99%A8/"><span class="card-category-list-name">服务器</span><span class="card-category-list-count">3</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/%E7%AC%94%E8%AE%B0/"><span class="card-category-list-name">笔记</span><span class="card-category-list-count">2</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/%E7%B3%BB%E7%BB%9F/"><span class="card-category-list-name">系统</span><span class="card-category-list-count">1</span></a></li><li class="card-category-list-item "><a class="card-category-list-link" href="/hexo-blog/categories/%E8%AE%A1%E7%AE%97%E6%9C%BA%E7%BC%96%E7%A8%8B/"><span class="card-category-list-name">计算机编程</span><span class="card-category-list-count">2</span></a></li>
            </ul></div><div class="card-widget card-tags"><div class="item-headline"><i class="fas fa-tags"></i><span>标签</span></div><div class="card-tag-cloud"><a href="/hexo-blog/tags/%E5%B0%8F%E7%AB%AF%E5%BA%8F/" style="font-size: 1.1em; color: #999">小端序</a> <a href="/hexo-blog/tags/web-%E5%89%8D%E7%AB%AF/" style="font-size: 1.5em; color: #99a9bf">web 前端</a> <a href="/hexo-blog/tags/ssh/" style="font-size: 1.1em; color: #999">ssh</a> <a href="/hexo-blog/tags/%E9%94%90%E9%80%9F/" style="font-size: 1.1em; color: #999">锐速</a> <a href="/hexo-blog/tags/Python/" style="font-size: 1.5em; color: #99a9bf">Python</a> <a href="/hexo-blog/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/" style="font-size: 1.1em; color: #999">服务器</a> <a href="/hexo-blog/tags/BCD%E7%A0%81/" style="font-size: 1.1em; color: #999">BCD码</a> <a href="/hexo-blog/tags/%E5%A4%A7%E7%AB%AF%E5%BA%8F/" style="font-size: 1.1em; color: #999">大端序</a> <a href="/hexo-blog/tags/frp/" style="font-size: 1.1em; color: #999">frp</a> <a href="/hexo-blog/tags/MySQL/" style="font-size: 1.5em; color: #99a9bf">MySQL</a> <a href="/hexo-blog/tags/windows-%E6%9C%8D%E5%8A%A1/" style="font-size: 1.5em; color: #99a9bf">windows 服务</a> <a href="/hexo-blog/tags/ubuntu/" style="font-size: 1.1em; color: #999">ubuntu</a> <a href="/hexo-blog/tags/Hexo/" style="font-size: 1.5em; color: #99a9bf">Hexo</a> <a href="/hexo-blog/tags/Linux/" style="font-size: 1.1em; color: #999">Linux</a> <a href="/hexo-blog/tags/SpringBoot/" style="font-size: 1.1em; color: #999">SpringBoot</a> <a href="/hexo-blog/tags/%E4%B8%BB%E9%A2%98/" style="font-size: 1.1em; color: #999">主题</a> <a href="/hexo-blog/tags/x-ui/" style="font-size: 1.5em; color: #99a9bf">x-ui</a> <a href="/hexo-blog/tags/%E5%86%85%E7%BD%91%E7%A9%BF%E9%80%8F/" style="font-size: 1.1em; color: #999">内网穿透</a> <a href="/hexo-blog/tags/%E5%BB%BA%E7%AB%99/" style="font-size: 1.1em; color: #999">建站</a> <a href="/hexo-blog/tags/%E9%9D%A2%E6%9D%BF/" style="font-size: 1.5em; color: #99a9bf">面板</a> <a href="/hexo-blog/tags/bbr/" style="font-size: 1.1em; color: #999">bbr</a> <a href="/hexo-blog/tags/FastAPI/" style="font-size: 1.1em; color: #999">FastAPI</a> <a href="/hexo-blog/tags/aws/" style="font-size: 1.1em; color: #999">aws</a></div></div><div class="card-widget card-archives"><div class="item-headline"><i class="fas fa-archive"></i><span>归档</span></div><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/hexo-blog/archives/2023/05/"><span class="card-archive-list-date">五月 2023</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/hexo-blog/archives/2023/04/"><span class="card-archive-list-date">四月 2023</span><span class="card-archive-list-count">11</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/hexo-blog/archives/2023/03/"><span class="card-archive-list-date">三月 2023</span><span class="card-archive-list-count">3</span></a></li></ul></div><div class="card-widget card-webinfo"><div class="item-headline"><i class="fas fa-chart-line"></i><span>网站资讯</span></div><div class="webinfo"><div class="webinfo-item"><div class="item-name">文章数目 :</div><div class="item-count">15</div></div><div class="webinfo-item"><div class="item-name">已运行时间 :</div><div class="item-count" id="runtimeshow" data-publishDate="2023-03-26T16:00:00.000Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站访客数 :</div><div class="item-count" id="busuanzi_value_site_uv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">本站总访问量 :</div><div class="item-count" id="busuanzi_value_site_pv"><i class="fa-solid fa-spinner fa-spin"></i></div></div><div class="webinfo-item"><div class="item-name">最后更新时间 :</div><div class="item-count" id="last-push-date" data-lastPushDate="2023-05-12T05:26:57.574Z"><i class="fa-solid fa-spinner fa-spin"></i></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2023 By chenmuci</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text"><div class="icp">联系邮箱：service@outlook.com</div></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/hexo-blog/js/utils.js"></script><script src="/hexo-blog/js/main.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui/dist/fancybox.umd.min.js"></script><script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script>function panguFn () {
  if (typeof pangu === 'object') pangu.autoSpacingPage()
  else {
    getScript('https://cdn.jsdelivr.net/npm/pangu/dist/browser/pangu.min.js')
      .then(() => {
        pangu.autoSpacingPage()
      })
  }
}

function panguInit () {
  if (false){
    GLOBAL_CONFIG_SITE.isPost && panguFn()
  } else {
    panguFn()
  }
}

document.addEventListener('DOMContentLoaded', panguInit)</script><div class="js-pjax"><script>window.typedJSFn = {
  init: (str) => {
    window.typed = new Typed('#subtitle', Object.assign({
      strings: str,
      startDelay: 300,
      typeSpeed: 150,
      loop: true,
      backSpeed: 50,
    }, null))
  },
  run: (subtitleType) => {
    if (true) {
      if (typeof Typed === 'function') {
        subtitleType()
      } else {
        getScript('https://cdn.jsdelivr.net/npm/typed.js/lib/typed.min.js').then(subtitleType)
      }
    } else {
      subtitleType()
    }
  }
}
</script><script>function subtitleType () {
  if (true) {
    typedJSFn.init(["何其荣幸 何德何能","所有的不平凡都来自平凡","人生不能太圆满  求而不得也未必是遗憾","除了死亡 一切都是擦伤"])
  } else {
    document.getElementById("subtitle").innerHTML = '何其荣幸 何德何能'
  }
}
typedJSFn.run(subtitleType)</script></div><div class="aplayer no-destroy" data-id="3779629" data-server="netease" data-type="playlist" data-fixed="true" data-mini="true" data-listFolded="false" data-order="random" data-preload="none" data-autoplay="false" muted></div><script id="click-heart" src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/dist/click-heart.min.js" async="async" mobile="false"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/aplayer/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc/metingjs/dist/Meting.min.js"></script><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>